Routines (alphabetical) > Routines: M > MESH_ISSOLID

MESH_ISSOLID

Syntax | Return Value | Arguments | Keywords | Version History | See Also

The MESH_ISSOLID function computes various mesh properties and enables IDL to determine if a mesh encloses space (is a solid). If the mesh can be considered a solid, routines can compute the volume of the mesh.

Syntax

Result = MESH_ISSOLID (Conn)

Return Value

Returns 1 if the input mesh fully encloses space (assuming no polygonal interpenetration) or 0 otherwise. A mesh is defined to fully enclose space if each edge in the input mesh appears an even number of times in the mesh.

Note: The input polygonal mesh is assumed to contain only planar, convex polygons.

Arguments

Conn

This is an integer or longword array that represents a series of polygon descriptions. Each polygon description takes the form [n, i0, i1, ..., in-1], where n is the number of vertices that define the polygon, and i0...in-1 are indices into the vertex array.

Keywords

None.

Version History

5.5

Introduced

See Also

MESH_CLIP , MESH_DECIMATE , MESH_MERGE , MESH_NUMTRIANGLES , MESH_OBJ , MESH_SMOOTH , MESH_SURFACEAREA , MESH_VALIDATE , MESH_VOLUME